<template>
  <div>
    <el-form label-width="100px">
      <el-form-item label="慢性病">
        <el-input v-model="record.chronic" placeholder="如：高血压、糖尿病等" />
      </el-form-item>
      <el-form-item label="过敏史">
        <el-input v-model="record.allergy" placeholder="如：青霉素过敏等" />
      </el-form-item>
      <el-form-item label="体检记录">
        <el-input v-model="record.checkup" type="textarea" placeholder="体检摘要" />
      </el-form-item>
      <el-form-item label="疫苗接种">
        <el-input v-model="record.vaccine" placeholder="如：新冠疫苗、乙肝疫苗等" />
      </el-form-item>
    </el-form>
  </div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
const record = ref({
  chronic: '高血压',
  allergy: '无',
  checkup: '2024年4月体检：血压正常，血糖正常',
  vaccine: '新冠疫苗、乙肝疫苗'
})
</script> 